package org.jeecgframework.core.common.model.json;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by red on 2017/4/14.
 */
public class Tree {
    String id;
    String text;
    String iconCls;
    List<Tree> children = new ArrayList<>();

    public Tree(){

    }

    public Tree(String id, String text) {
        this.id = id;
        this.text = text;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getIconCls() {
        return iconCls;
    }

    public void setIconCls(String iconCls) {
        this.iconCls = iconCls;
    }

    public List<Tree> getChildren() {
        return children;
    }

    public void setChildren(List<Tree> children) {
        this.children = children;
    }


}
